package com.yswy.common.enums;

import com.yswy.common.enums.base.EnumHelper;
import com.yswy.common.enums.base.TypeEnum;
import com.yswy.common.enums.base.TypeEnumDto;

import java.util.List;
import java.util.Map;

public enum XtPlatformEnums  implements TypeEnum {

    ANDROID(0, "andriod"),
    IOS(1, "ios");

    XtPlatformEnums(int code, String message) {
        this.code = code;
        this.message = message;
    }

    private final int code;

    private final String message;

    public int getCode() {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }

    public static List<TypeEnumDto> kv = EnumHelper.getTypeEnum(values());

}
